@import '~antd/es/style/themes/default.less';
.hostTagPanel {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  .title {
    display: flex;
    width: 100%;
    height: 40px;
    padding: 0 14px;
    font-weight: bold;
    line-height: 40px;
    border-bottom: 1px;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.06);
  }
  .content {
    width: 100%;
    height: 720px;
    padding: 0 14px 0 14px;
    overflow-y: auto;
    &::-webkit-scrollbar {
      width: 5px;
    }
    &::-webkit-scrollbar-track {
      background: rgb(54, 52, 52);
    }
    &::-webkit-scrollbar-thumb {
      background: rgb(236, 235, 235);
    }
    &::-webkit-scrollbar-thumb:hover {
      background: rgb(100, 100, 100);
    }
    &::-webkit-scrollbar-thumb:active {
      background: rgb(100, 100, 100);
    }
    .mode {
      width: 100%;
      padding: 10px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .form {
      display: none;
      .ant-tabs {
        .ant-tabs-nav {
          margin-bottom: 5px;
          .ant-tabs-tab {
            color: #fff;
          }
          &::before {
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
          }
        }
      }

      .ant-pro-card {
        .ant-pro-card-header {
          padding: 10px 0;
          .card-title {
            color: #fff;
            font-weight: bold;
            font-size: 16px;
            span {
              margin-right: 10px;
              color: aqua;
              font-size: 20px;
            }
          }
        }
        .ant-input {
          color: #fff;
          background-color: rgb(60, 60, 60);
          border: none;
        }

        .ant-slider {
          .ant-slider-rail {
            background-color: rgb(40, 40, 40);
          }
          .ant-slider-mark {
            .ant-slider-mark-text {
              color: rgba(255, 255, 255, 0.3);
            }
          }
        }

        .card-form {
          margin-top: 10px;
          padding-left: 10px;

          .card-selected {
            border-color: #1677ff;
          }
          .icon-selected {
            position: absolute;
            padding: 1px;
            color: #1677ff;
            font-size: 16px;
            background-color: #fff;
            border-radius: 50%;
            inset-block-start: 2px;
            inset-inline-end: 2px;
          }
          .ant-card {
            margin-bottom: 10px;
            padding: 1px;
            background: rgb(36, 36, 36);
            .ant-card-cover {
              height: 100px;
              overflow: hidden;
            }
            .ant-card-body {
              padding: 4px 0;
              text-align: center;
              background: none;
              .ant-card-meta-title {
                color: rgba(255, 255, 255, 0.8);
                font-size: 14px;
              }
            }
          }

          .ant-segmented {
            margin-bottom: 10px;
            color: rgba(255, 255, 255, 0.8);
            background-color: rgb(65, 65, 65);
            .ant-segmented-thumb {
              background-color: rgb(78, 78, 78);
            }
            .ant-segmented-item-selected {
              color: #fff;
              background-color: rgb(78, 78, 78);
            }
          }
          .taskName {
            color: #fff;
          }
          .ant-upload {
            padding: 0;
            background-color: rgb(36, 36, 36);
            border: none;

            .ant-upload-drag-container {
              p {
                display: none;
              }
              .ant-upload-text {
                color: rgba(255, 255, 255, 0.8);
              }
              .ant-upload-icon {
                color: rgba(255, 255, 255, 0.8);
                font-size: 30px;
              }
            }
          }
          .ant-upload-list {
            .ant-upload-list-item {
              background-color: rgb(36, 36, 36);
              border: none;
              .ant-upload-list-item-name,
              .anticon-delete {
                color: rgba(255, 255, 255, 0.8);
              }
            }
          }

          .ant-form-item {
            margin-bottom: 15px;
          }
          .ant-form-item-label {
            label {
              color: rgba(255, 255, 255, 0.8);
              font-size: 14px;
            }
          }
          .tag {
            cursor: pointer;
            .text {
              color: rgba(255, 255, 255, 0.8);
              font-size: 14px;
            }
          }
          .selectedTag {
            border: 1px solid @primary-color;
            .text {
              color: #fff;
            }
          }
          .ant-input-affix-wrapper {
            background-color: rgb(60, 60, 60);
            border: none;
            .ant-input-suffix {
              .ant-input-clear-icon {
                color: #fff;
              }
            }
          }
          .btn-preView {
            color: #fff;
            background-color: rgb(80, 80, 80);
            border: none;
          }
          .ant-select {
            .ant-select-selector {
              color: #fff;
              background-color: rgb(60, 60, 60);
              border: none;
            }
            .ant-select-arrow {
              color: #fff;
            }
          }
          .ant-pro-field-color-picker {
            width: 45px;
            height: 25px;
            padding: 0;
            background: none !important;
            div {
              width: 100% !important;
              height: 100% !important;
            }
          }

          .ant-pro-form-list {
            .ant-pro-form-group {
              .ant-space {
                gap: 0 16px !important;
              }
            }
            .ant-pro-form-list-action {
              height: 15px;
              color: #fff !important;
              line-height: 15px;
            }
            .ant-btn {
              color: #fff;
              background-color: rgb(60, 60, 60);
            }
          }
        }
      }
    }
    .show {
      display: block;
    }
  }
  .bottom {
    width: 100%;
    margin-top: auto;
    padding: 0 14px 14px 14px;
    .bottom-top {
      display: flex;
      justify-content: space-between;
      width: 100%;
      margin-bottom: 10px;
    }
    .btn {
      width: 49%;
      background-color: rgb(36, 36, 36) !important;
      border: none !important;
    }
    .cancel-btn {
      width: 100%;
    }
  }
}
